package com.linQing.waterWork.modle.page;

import com.linQing.waterWork.modle.vo.AnalogVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author dream
 * @date 2024/04/30
 * @description mongodb分页查询类
 */
@Data
public class PageResult {
    @ApiModelProperty(value = "数据")
    private List<AnalogVo> list;
    @ApiModelProperty(value = "总页数")
    private int totalPages;
    @ApiModelProperty(value = "当前页")
    private int currentPage;
    @ApiModelProperty(value = "总条数")
    private long totalElements;
    @ApiModelProperty(value = "每页条数")
    private int pageSize;
}